<?php
namespace app\api\model;

use app\BaseModel;
use think\Db;

class NewsModel extends BaseModel {

	//得到slider轮播图列表
	function findSliderList($category){
		//得到列表
		$sliderList = Db::name('t_slider')->where("category",$category)->order('orderid', 'desc')->select();
		return $sliderList;
	}
	
	
}